package pharao.client.dto;

import net.sf.hibernate4gwt.pojo.gwt.LazyGwtPojo;

public class ExamenStatusDTO extends LazyGwtPojo {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5460567264525709395L;
	
	/**
	 * defines a "Bronce"-Result
	 */
	public static final int TYP_BRONCE = 2;
	
	/**
	 * defines a "Gold"-Result
	 */
	public static final int TYP_GOLD = 0;
	
	/**
	 * defines a "Silver"-Result
	 */
	public static final int TYP_SILBER = 1;
	
	/**
	 * id
	 */
	private int id;
	
	/**
	 * bestanden
	 */
	private boolean passed = false;

	/**
	 * enthält den ExamenStatusDTO.TYP_* des Examens
	 */
	private int type = TYP_BRONCE;
	
	public ExamenStatusDTO() {
		
	}

	public int getId() {
		return id;
	}

	public int getType() {
		return type;
	}

	public boolean isPassed() {
		return passed;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setPassed(boolean passed) {
		this.passed = passed;
	}

	public void setType(int type) {
		this.type = type;
	}

}
